package com.iot08.common.entity.admin;

import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Description:
 * @time: 2020/8/26 15:29
 * @author: Rock
 */
@Data
@Document("operation")
public class Operation implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;
    /**
     * 操作ip
     */
    private String ip;

    private String company;

    private String describe;

    private String module;

    private String account;

    private String role;

    private String behavior;

    private Integer vender;

    private String filename;

    private String T;

    private Date maketime;

    private String imei;

    @Transient
    private SysUser user;

}
